cmake_minimum_required(VERSION 3.1)
project(SimpleNES)

set(CMAKE_CXX_STANDARD 11)
# Add sources
file(GLOB SOURCES
    "${PROJECT_SOURCE_DIR}/main.cpp"
    "${PROJECT_SOURCE_DIR}/src/*.cpp"
)

# Copy keybindings.conf
file(COPY keybindings.conf DESTINATION .)


# Specify include Directory
include_directories("./include")

include_directories(D:\\SFML\\SFML-2.5.1\\include)
LINK_DIRECTORIES(D:\\SFML\\SFML-2.5.1\\lib)

add_executable(SimpleNES ${SOURCES})
target_link_libraries(SimpleNES -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio)

